#include "common.h"
#include "test.h"

test::test()//test构造函数定义
{
    x=0;
    y=0;
    std::cout << "我是构造函数定义\n" << std::endl;
    std::cout << x<<" "<<y << std::endl;

}
test::test(int x1, int y1):x(x1),y(y1)
{

    std::cout << "我是带参数构造函数定义\n" << std::endl;
    std::cout << x<<" "<<y << std::endl;
}


 void testA()//函数定义
 {
    std::cout << "testA函数定义\n" << std::endl;

 };
  void printA()
  {
    std::cout << "printA函数定义\n" << std::endl;
  };
